<script setup lang="ts"></script>

<template>
  <div class="idc-banner">
    <div class="container">
      <div class="content">
        <h3 class="title">IDC服务</h3>
        <div class="comment">IDC机房之间互联互通</div>
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.idc-banner {
  width: 100%;
  height: 900px;
  background-image: url('@/assets/images/idc/banner/banner_idc.png');
  background-size: cover; /* 自动裁剪图片至容器大小，保持宽高比 */
  background-repeat: no-repeat;
  background-position: center center; /* 将图片内容始终居中显示 */

  .content {
    height: 100%;
    padding-top: 337px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    .title {
      font-family: 'SourceHanSansCN-Bold';
      font-size: 56px;
      line-height: 88px;
      letter-spacing: 6px;
      color: #1d4e8c;
      margin-bottom: 40px;
      white-space: nowrap;
    }
    .comment {
      padding: 25px 50px;
      background-image: linear-gradient(91deg, #ffcfdf 0%, #63a4ff 100%);
      border-radius: 42px;
      font-family: 'SourceHanSansCN-Regular';
      font-size: 36px;
      color: #1d4e8c;
      display: flex;
      justify-content: center;
      align-items: center;
      white-space: nowrap;
    }
  }
}

// xl(1200px)至xxl(1600px)
@media screen and (min-width: 1201px) and (max-width: 1600px) {
  .container {
    width: 100%;
  }
}
</style>
